<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateApplyTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
	    Schema::create('app_apply', function (Blueprint $table) {
		    $table->increments('id');
		    $table->string('company_name', 60);
		    $table->string('name', 30);
		    $table->string('scale', 10)	;
		    $table->string('position', 30);
		    $table->string('contact', 11);
		    $table->string('remarks', 1500)->nullable();
		    $table->timestamps();
	    });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
	    Schema::dropIfExists('app_apply');
    }
}
